#include <stdio.h>
#include <string.h>
#include <unistd.h>


int main(){
    //C库
    const char *msg = "hello C\n";
    printf("%s", msg);
    fprintf(stdout,"%s", msg);
    fwrite(msg,1,strlen(msg), stdout);

    //系统调用
    const char *sys_msg = "hello write\n";
    write(1,sys_msg ,strlen(sys_msg));
    
    fork();
    return 0;
}
